﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<EnterpriseManagement.Models.RecreateUserModel>" %>

<div id="recreateuser">
 <h1>RecreateUser</h1>
 <br /><br />
    <% using (Ajax.BeginForm("RecreateUser", new AjaxOptions { UpdateTargetId = "recreateuser" }))
       {%>
        <%: Html.ValidationSummary(true) %>
     
            <table id="tablenoframe" style =" margin:0 20%">
            <tr>
                <td class ="label"> <%: Html.LabelFor(model => model.EmployeeId) %></td>
                <td class="editor-field">
                <%: Html.TextBoxFor(model => model.EmployeeId) %>
                <%: Html.ValidationMessageFor(model => model.EmployeeId) %>
                </td>
            </tr>

            <tr>
                <td class ="label"><%: Html.LabelFor(model => model.UserName) %></td>
                <td class="editor-field">
                <%: Html.TextBoxFor(model => model.UserName) %>
                <%: Html.ValidationMessageFor(model => model.UserName) %>
                </td>
            </tr>

            <tr>
                <td class ="label"><%: Html.LabelFor(model => model.Password) %></td>
                <td class="editor-field">
                <%: Html.PasswordFor (model => model.Password) %>
                <%: Html.ValidationMessageFor(model => model.Password) %>
                </td>
            </tr>

            <tr>
                <td class ="label"><%: Html.LabelFor(model => model.ConfirmPassword) %></td>
                <td class="editor-field">
                <%: Html.PasswordFor(model => model.ConfirmPassword) %>
                <%: Html.ValidationMessageFor(model => model.ConfirmPassword) %>
                </td>
            </tr>

            <tr>
                <td></td><td><input type="submit" value="重新创建" style ="margin-left:80px;position:absolute" /></td>
              </tr>
            </table>



    <% } %>
    </div>